package com.example.g2daylx2.adapter

import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.g2daylx2.R
import com.example.lib_base.net.entity.Video

class VideoAdaptre:BaseQuickAdapter<Video,BaseViewHolder>(R.layout.item_video) {
    override fun convert(helper: BaseViewHolder, item: Video) {
        Glide.with(context).load(item.image).into(helper.getView(R.id.iv))
        helper.setText(R.id.tv,item.storeName)
    }
}